import {
	defineConfig
} from 'vite';
import uni from '@dcloudio/vite-plugin-uni';

export default defineConfig({
	plugins: [uni()],
	server: {
		host: "0.0.0.0",
		port: 10000,
		// proxy: {
		// 	"/api": {
		// 		// target: "http://101.126.66.217:8081",
		// 		target: "http://6vb002uc1316.vicp.fun:58010",
		// 		changeOrigin: true,
		// 		rewrite: (path) => path.replace(/^\/api/, ""),
		// 	},
		// },
	},
});